package com.hilon.foundation.query;

import com.hilon.foundation.para.FoundationQueryPara;
import com.hilon.foundation.util.ResultBean;

import java.util.List;

public interface QueryBaseService<T> {
    ResultBean<List<T>> queryByCondition(FoundationQueryPara condition);
    ResultBean<String> submitSelectedRows(List<T> list, String curUser);
    ResultBean<String> copyById(Long id);
    ResultBean<String> deleteById(Long id);
}
